home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Science / RLaB / help / writem < prev    next >
Text File  |  1994-04-25  |  626b  |  24 lines

  1. writem:
  2.  
  3. Syntax:    writem ( "filename" , A )
  4.  
  5. Description:
  6.  
  7.     Writem is the counterpart to readm(). Writem writes the matrix
  8.     A to the file denoted by the 1st argument in a generic format.
  9.     
  10.     The format used is:
  11.  
  12.     line 1:        value[1;1]    ... value[1;ncol] \n
  13.     line nrow:    value[nrow;1] ... value[nrow;ncol] \n
  14.  
  15.     Writem will write real and complex numeric matrices, as well
  16.     as string matrices even though readm can only read real numeric
  17.     matrices. 
  18.  
  19.     Writem does not close the file after writing A. The file is
  20.     left open for further writes if necessary. Close can be called
  21.     to explicitly close the file.
  22.  
  23. See Also: close, readm
  24.